<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%><html>
<html>
	<head>
	
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		
		<title>招商财富Solution - 消息管理</title>
		<script type="text/javascript">
			var pagePath = '<%=context%>';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(pagePath);
			});
		</script>
	</head>

<body class="fixed-nav">
	<div class="result-box padding-0" style="overflow: visible;">
		<div class="clearfix form-multi-col-panel">
			<div class="form-item-group form-horizontal" role="form" >
		        	
	        	<div class="form-item">
	        		<span class="form-field">标题：</span>
					<span class="form-input">
	            		<input class="form-control" id="title" placeholder="标题"/>
	            	</span>
	        	</div>
	        	
	        	<div class="form-item">
	        		<span class="form-field">消息代码：</span>
	        		<span class="form-input">
	        			<input class="form-control" id="msgCode" placeholder="消息代码"/>
					</span>
	        	</div>
	        	
	        	<div class="form-item">
	        		<span class="form-field">发送类型：</span>
	        		<span class="form-input">
	            		<select id="sendType" class="form-control use-select2" >
							<option value="">全部</option>
			                <c:forEach var="dto" items="${msgSendTypeList}">
			                	<option value="${dto.dctValue}">${dto.dctName}</option>
			                </c:forEach>
						</select>
					</span>
	        	</div>
	        	
	        	<div class="form-item"></div>
	        	<div class="form-item"></div>
	        	<div class="form-item"></div>
	    	</div>
	    	<div class="form-action">
	          	<button class="btn btn-primary" type="submit" onclick="queryByCondtion(true)"  id="queryByCondtionBtn" name="queryByCondtionBtn"><i class="fa fa-search"></i>&nbsp;查询</button>
	         	<button class="btn btn-outline btn-default" type="reset" id="clearAllBtn" name="clearAllBtn">清空</button>
	    	</div>
		</div>
		
	<div class="form-search-group">
	    <button class="btn btn-default btn-sm" onClick="addMsgConf()" >新增</button>
	    <button class="btn btn-default btn-sm" onClick="refreshMsgEmpConfRs()" ><i class="fa fa-refresh"></i>&nbsp;更新待办与监控收件人缓存</button>
	</div>	
		
	<div class="jqGrid_wrapper fullscreen-wrapper">	
    	<table id="msgConfList"></table>
    	<div id="msgConfPage"></div>
    	<input type="hidden" name="subGridTBId" id="subGridTBId" value=""/>
		<input type="hidden" name="hiddenmsgconfid" id="hiddenmsgconfid" value=""/>
	</div>
	
</div>		
		<script type="text/javascript" src="<%=context%>resources/modules/system/sys/msg/msgConf.js?r=<%=Math.random()%>"></script>
		</body>
	</html>

